package com.hfmall.mapper;

import com.hfmall.entity.HfComments;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hfmall.entity.HfUser;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liclo
 * @since 2021-08-12
 */
public interface HfCommentsMapper extends BaseMapper<HfComments> {
    @Update("UPDATE hf_comments SET status=#{status} WHERE id=#{id}")
    void updateByID(HfComments comments);
}
